﻿using WeDonekRpc.Helper.Validate;

namespace Basic.HrGatewayModular.Model.EmpSign
{
    public class ApplyAccredit
    {
        [LenValidate("hr.emp.accredit.code.len", 32)]
        public string AccreditId
        {
            get;
            set;
        }
        [NumValidate("hr.emp.sign.file.Id.error", 1)]
        public long Id
        {
            get;
            set;
        }
        [NullValidate("hr.emp.sign.pwd.null")]
        [LenValidate("hr.emp.sign.pwd.len", 6, 16)]
        public string Pwd
        {
            get;
            set;
        }
    }
}
